<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-07-31 17:46:49
 * @LastEditTime: 2019-12-07 16:20:22
 * @LastEditors: Please set LastEditors
 -->
<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/vant.css">
    <link rel="stylesheet" type="text/css" href="../css/base.css" />
    <script type="text/javascript" src="../script/jquery.js"></script>
    <script type="text/javascript" src="../script/layer/mobile/layer.js"></script>
    <script type="text/javascript" src="../script/vue.min.js"></script>
    <script type="text/javascript" src="../script/vant.min.js"></script>
    <script type="text/javascript" src="../script/fastclick.js"></script>
    <script type="text/javascript" src="../script/base.js"></script>
    <style type="text/css">
        html,
        body,
        #app {
            height: auto;
            background: #fff;
        }

        .row {
            position: relative;

        }

        .v-selected {
            background: #ececec;
        }

        .time {
            line-height: 34px;
        }

        .row .img {
            width: 60px;
            height: 60px;
        }

        .row .img img {
            width: 100%;
            /* height: 100%; */
        }

        .row .remark {
            position: absolute;
            left: 70px;
            top: 0;
            right: 0;
            color: #9e9e9e;
        }

        .b-b {
            border-bottom: 1px solid #ebedf0;
        }

        .sort {
            display: inline-block;
            margin-right: 10px;
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            background: #cd1b21;
            color: #fff;
            border-radius: 10px;
        }

        .v {
            font-size: 13px;
            padding: 15px 15px 0 15px;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 0 5px rgb(200, 198, 198);
            margin-bottom: 10px;
        }
    </style>
</head>

<body>
    <div id="app">
        <div class="init-full" v-cloak>
            <van-nav-bar class="head" title="客户拜访详情" left-arrow @click-left="onClickLeft">
            </van-nav-bar>
            <div class="body-no-bottom">
                <div class="content">
                    <van-cell title="拜访人" :value="customerVisitListDetail.UserName"></van-cell>
                    <van-cell title="拜访客户" :value="customerVisitListDetail.ClientName" style="margin-top:10px;"></van-cell>
                    <van-cell title="签到时间" :value="customerVisitListDetail.StartTime"></van-cell>
                    <van-cell title="签到图片">
                            <div style="color:#9e9e9e;" v-show="!customerVisitListDetail.PIC_Path1">暂无图片</div>
                        <div v-show="customerVisitListDetail.PIC_Path1"><img :src="'http://' + customerVisitListDetail.PIC_Path1" style="width: 80px;" /></div>
                    </van-cell>
                    <van-cell title="签到备注" :value="customerVisitListDetail.FRemarks1"></van-cell>

                    <van-cell title="签退时间" :value="customerVisitListDetail.EndTime" style="margin-top:10px;"></van-cell>
                    <van-cell title="签退图片">
                            <div style="color:#9e9e9e;" v-show="!customerVisitListDetail.PIC_Path2">暂无图片</div>
                            <div v-show="customerVisitListDetail.PIC_Path2"><img :src="'http://' + customerVisitListDetail.PIC_Path2" style="width: 80px;" /></div>
                        </van-cell>
                    <van-cell title="签退备注" :value="customerVisitListDetail.FRemarks2"></van-cell>
                </div>
                <van-loading v-if="showLoading" />
            </div>
        </div>
    </div>
</body>

<script type="text/javascript">
    var vm;
    apiready = function () {
        //$('.init-full').show();

        var userInfo = FLD.getUserInfo();
        var customerVisitListDetail = api.pageParam.customerVisitListDetail;

        vm = new Vue({
            el: '#app',
            data: {
                showLoading: false,
                activeIndex: 0,
                customerVisitListDetail: customerVisitListDetail
            },
            created: function () {
                var that = this;
            },
            methods: {
                
                onClickLeft() {
                    api.closeWin();
                }
            }
        })
    };
</script>

</html>